#ifndef CAMERA_H
#define CAMERA_H

#include <QMatrix4x4>

class Camera : public QMatrix4x4 {
public:
	Camera() : QMatrix4x4() {
		this->setToIdentity();
	}
	void setToIdentity() {
		QMatrix4x4::setToIdentity();
	}
	void lookAt(const QVector3D& eye, const QVector3D& center, const QVector3D& up) {
		QMatrix4x4::lookAt(eye, center, up);
	}
	void perspective(float fov, float aspect, float nearPlane, float farPlane) {
		QMatrix4x4::perspective(fov, aspect, nearPlane, farPlane);
	}
};
#endif // !CAMERA_H
